package com.greensam.pixelengine.pojo.vo.user.request;

import com.greensam.pixelengine.pojo.base.BaseDto;
import com.greensam.pixelengine.pojo.emuns.GenderEnum;
import com.greensam.pixelengine.pojo.emuns.StatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * @author Macro_Ray
 * @since 2025/6/19 17:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(title = "保存用户请求参数")
public class UserSaveRequest extends BaseDto {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(title = "用户ID")
    private Long id;

    @Schema(title = "用户名")
    private String name;

    @Schema(title = "用户账号")
    private String account;

    @Schema(title = "用户头像")
    private String avatar;

    @Schema(title = "用户性别")
    private GenderEnum gender;

    @Schema(title = "用户邮箱")
    private String email;

    @Schema(title = "用户手机")
    private String phone;

    @Schema(title = "用户简介")
    private String profile;

    @Schema(title = "用户状态")
    private StatusEnum status;

}
